Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use subscription of the product class #1283

Merged
merged 12 commits into from
Feb 27, 2025
Merged

Use subscription of the product class #1283

merged 12 commits into from
Feb 27, 2025

Conversation

jesusbv
Copy link
Collaborator

@jesusbv jesusbv commented Feb 6, 2025

Description

Use add_on check that would return the real product class, instead of the wrong base product

With that add_on product class value, perform the query to fetch the proper subscription for the product

Do not compare product identifiers or based product classes but product class which belong to the right subscription

This Fixes bsc#1236816 and bsc#1236836

How to test

Migrate a Micro 5.5 -> Micro 6.1 should succeed

Change Type

Please select the correct option.

  • Bug Fix (a non-breaking change which fixes an issue)
  • New Feature (a non-breaking change which adds new functionality)
  • Documentation Update (a change which only updates documentation)

Checklist

Please check off each item if the requirement is met.

  • I have reviewed my own code and believe that it's ready for an external review.
  • I have provided comments for any hard-to-understand code.
  • I have documented the MANUAL.md file with any changes to the user experience.
  • If my changes are non-trivial, I have added a changelog entry to notify users at package/obs/rmt-server.changes.

Review

Please check out our review guidelines
and get in touch with the author to get a shared understanding of the change.

Use add_on check that would return the real product class,
instead of the wrong base product

With that add_on product class value, perform the query to fetch
the proper subscription for the product

Do not compare product identifiers or based product classes but
product class which belong to the right subscription

This Fixes bsc#1236816 and bsc#1236836
@jesusbv jesusbv self-assigned this Feb 6, 2025
@jesusbv jesusbv added the 2.22 label Feb 6, 2025
@jesusbv jesusbv merged commit aee467d into master Feb 27, 2025
3 checks passed
@jesusbv jesusbv deleted the subscription-check branch February 27, 2025 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants